import { uglify } from 'rollup-plugin-uglify';

const version = "1.0.0";
const name ='abetplan_ordertypeedit';

const fileName = `${name}-${version}.min.js`

export default {
    input: `src/${name}/index.js`,
    output: {
        file: `dist/${fileName}`,
        format: 'iife',
    },
    plugins: [
        uglify()
    ],
};
